package com.tjcd.project.library_base.base.easyhttpnet;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestInterceptor;
import com.hjq.http.model.HttpHeaders;
import com.hjq.http.model.HttpParams;
import com.hjq.http.request.HttpRequest;

import okhttp3.Request;
import okhttp3.Response;

/**
 * @Author jiangKunKun
 * @CreateDate 2024/9/27
 * @Description
 * @SpittingGrooves
 */
public class EasyHttpInterceptor implements IRequestInterceptor {
    @Override
    public void interceptArguments(@NonNull HttpRequest<?> httpRequest, @NonNull HttpParams params, @NonNull HttpHeaders headers) {
        IRequestInterceptor.super.interceptArguments(httpRequest, params, headers);
    }

    @NonNull
    @Override
    public Request interceptRequest(@NonNull HttpRequest<?> httpRequest, @NonNull Request request) {
        return IRequestInterceptor.super.interceptRequest(httpRequest, request);
    }

    @NonNull
    @Override
    public Response interceptResponse(HttpRequest<?> httpRequest, Response response) {
        return IRequestInterceptor.super.interceptResponse(httpRequest, response);
    }
}
